Optimal. Leaf size=267 \[ \frac{g \sqrt{\frac{\sin (e+f x)}{\sin (e+f x)+1}} \sqrt{a+b \sin (e+f x)} E\left (\sin ^{-1}\left (\frac{\cos (e+f x)}{\sin (e+f x)+1}\right )|-\frac{a-b}{a+b}\right )}{c f \sqrt{g \sin (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a+b) (\sin (e+f x)+1)}}}+\frac{2 \sqrt{g} \sec (e+f x) \sqrt{\frac{a (1-\sin (e+f x))}{a+b \sin (e+f x)}} \sqrt{\frac{a (\sin (e+f x)+1)}{a+b \sin (e+f x)}} (a+b \sin (e+f x)) \Pi \left (\frac{b}{a+b};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{g \sin (e+f x)}}{\sqrt{g} \sqrt{a+b \sin (e+f x)}}\right )|-\frac{a-b}{a+b}\right )}{c f \sqrt{a+b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.499523, antiderivative size = 267, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 39, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {2928, 2811, 2932} \[ \frac{g \sqrt{\frac{\sin (e+f x)}{\sin (e+f x)+1}} \sqrt{a+b \sin (e+f x)} E\left (\sin ^{-1}\left (\frac{\cos (e+f x)}{\sin (e+f x)+1}\right )|-\frac{a-b}{a+b}\right )}{c f \sqrt{g \sin (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a+b) (\sin (e+f x)+1)}}}+\frac{2 \sqrt{g} \sec (e+f x) \sqrt{\frac{a (1-\sin (e+f x))}{a+b \sin (e+f x)}} \sqrt{\frac{a (\sin (e+f x)+1)}{a+b \sin (e+f x)}} (a+b \sin (e+f x)) \Pi \left (\frac{b}{a+b};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{g \sin (e+f x)}}{\sqrt{g} \sqrt{a+b \sin (e+f x)}}\right )|-\frac{a-b}{a+b}\right )}{c f \sqrt{a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2928
Rule 2811
Rule 2932
Rubi steps
\begin{align*} \int \frac{\sqrt{g \sin (e+f x)} \sqrt{a+b \sin (e+f x)}}{c+c \sin (e+f x)} \, dx &=-\left (g \int \frac{\sqrt{a+b \sin (e+f x)}}{\sqrt{g \sin (e+f x)} (c+c \sin (e+f x))} \, dx\right )+\frac{g \int \frac{\sqrt{a+b \sin (e+f x)}}{\sqrt{g \sin (e+f x)}} \, dx}{c}\\ &=\frac{2 \sqrt{g} \Pi \left (\frac{b}{a+b};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{g \sin (e+f x)}}{\sqrt{g} \sqrt{a+b \sin (e+f x)}}\right )|-\frac{a-b}{a+b}\right ) \sec (e+f x) \sqrt{\frac{a (1-\sin (e+f x))}{a+b \sin (e+f x)}} \sqrt{\frac{a (1+\sin (e+f x))}{a+b \sin (e+f x)}} (a+b \sin (e+f x))}{\sqrt{a+b} c f}+\frac{g E\left (\sin ^{-1}\left (\frac{\cos (e+f x)}{1+\sin (e+f x)}\right )|-\frac{a-b}{a+b}\right ) \sqrt{\frac{\sin (e+f x)}{1+\sin (e+f x)}} \sqrt{a+b \sin (e+f x)}}{c f \sqrt{g \sin (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a+b) (1+\sin (e+f x))}}}\\ \end{align*}
Mathematica [C] time = 34.3669, size = 13199, normalized size = 49.43 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.803, size = 22961, normalized size = 86. \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b \sin \left (f x + e\right ) + a} \sqrt{g \sin \left (f x + e\right )}}{c \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\sqrt{g \sin{\left (e + f x \right )}} \sqrt{a + b \sin{\left (e + f x \right )}}}{\sin{\left (e + f x \right )} + 1}\, dx}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b \sin \left (f x + e\right ) + a} \sqrt{g \sin \left (f x + e\right )}}{c \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]